
function get_download()
{
	var DESCRIPTION=VERSION+' - '+SRC_PLAT;
	var URL=SRC_URL;
	if (navigator.appVersion.indexOf("Win")!=-1) {
		DESCRIPTION=VERSION+' for '+WIN_PLAT;
		URL=WIN_URL;
	}
	else if (navigator.appVersion.indexOf("Mac")!=-1) {
		DESCRIPTION=VERSION+ ' for '+OSX_PLAT;
		URL=OSX_URL;
	}
	document.write('<a href='+URL+'><b>Tucan Manager</b>');
	document.write('<br />');
	document.write(DESCRIPTION)
	document.write('</a>');
}

function package_info(platform, url, mirror)
{
	document.write('<b>'+platform+'</b>');
	document.write('<br />');
	document.write('<a href='+url+'>'+url.split("/").pop()+'</a>');
	document.write('<br />');
	document.write('<a href='+mirror+'><small>Alternative mirror</small></a>');
}

function get_services()
{
	for (i in SERVICES)
	{
		document.write('<img src="images/features/services/'+SERVICES[i][1]+'"alt="'+SERVICES[i][0]+'"/>');
		document.write('<a href="http://'+SERVICES[i][0]+'"><strong>'+SERVICES[i][0]+'</strong></a>');
		document.write('<br />');
	}		
}
